<!-- 选择单个 IOT -->

<template>
  <div class="FormChoose">
    <MyParam class="FormChoose-MyParam" @change="toRefresh" />

    <MyRegion class="FormChoose-MyTreeOne el-textarea__inner" @change="toRefresh" />

    <MySingle class="FormChoose-MySingle el-textarea__inner" @change="toChange" />
  </div>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'
import ChooseIOT from '../ChooseIOT'
import store from '../ChooseIOT/store'

// ============================== 导出组件 ============================== //

export default CORE.extend(ChooseIOT, {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'ChooseIOTOne',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixStore(store)],

  /**
   * 组件导入 (Abc.vue + Abc/index.vue)
   */
  ...CORE.components(
    ChooseIOT.components,
    require.context('./', true, /vue$/),
  ),
})
</script>
